import * as React from 'react';
import * as ReactDOM from 'react-dom';
import './css/index.less';
import { Hello } from './components/Hello';
// import girl from './images/girl.png';
const girl = require('./images/girl.png');
const App = () => (
  <>
    <img src={girl} alt='' />
    <Hello />
  </>
);

ReactDOM.render(<App />, document.getElementById('App'));

//启用热更新，不用刷新浏览器---开发模式
if (module.hot) module.hot.accept();
